﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterStudnetFather.Master" AutoEventWireup="true"
    CodeBehind="FatherStudentsComments.aspx.cs" Inherits="School.Pages.Admission.FatherStudentsComments" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div align="center">
        <asp:ScriptManager ID="sc1" runat="server">
        </asp:ScriptManager>
        <br />
        <br />
        <br />
        <br />
        <asp:UpdatePanel ID="up1" runat="server">
            <ContentTemplate>
                <asp:Label ID="lblText" runat="server" Text="الابنــاء"></asp:Label>
                <asp:DropDownList ID="ddlFatherStudents" runat="server">
                </asp:DropDownList>
                &nbsp&nbsp
                <asp:LinkButton ID="lnkBtnOpenStudentComments" runat="server" Text="اظهار الملاحظات"
                    ForeColor="Blue" Font-Underline="true" OnClick="lnkBtnOpenStudentComments_Click"></asp:LinkButton>
                <br />
                <table width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="100%">
                            <asp:GridView ID="griddata" runat="server" AllowPaging="True" AllowSorting="True"
                                AlternatingRowStyle-CssClass="GridItemAltername" AutoGenerateColumns="False"
                                CssClass="Grid" FooterStyle-CssClass="GridHeaderFooter" HeaderStyle-CssClass="GridHeaderFooter"
                                PagerStyle-CssClass="GridPager" Width="100%" PageSize="20" OnPageIndexChanging="griddata_PageIndexChanging">
                                <AlternatingRowStyle CssClass="GridItemAltername" />
                                <Columns>
                                    <asp:TemplateField HeaderText="المدرس">
                                        <ItemStyle Width="200px" />
                                        <ItemTemplate>
                                            <asp:Label ID="Label1" runat="server" Text='<%# Eval("TeacherName").ToString()%>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="Comment" HeaderText="الملاحظة" ItemStyle-Width="500px" />
                                </Columns>
                                <FooterStyle CssClass="GridHeaderFooter" />
                                <HeaderStyle CssClass="GridHeaderFooter" />
                                <PagerStyle CssClass="GridPager" />
                            </asp:GridView>
                        </td>
                    </tr>
                </table>
                <br />
                <br />
                <br />
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
</asp:Content>
